use msdb
go
--We build service broker fromt the bottom up
--First we create the queues to hold the messages

create queue [SqlBits.Scripter.GeneratorQueue]
go
create queue [SqlBits.Scripter.ResponseQueue]
go
--and secondly we create the services that put use the queues to store messages
create service [SqlBits.Scripter.GeneratorService]
on queue [SqlBits.Scripter.GeneratorQueue]
([DEFAULT])
go
create service [SqlBits.Scripter.ResponseService]
on queue [SqlBits.Scripter.ResponseQueue]
([DEFAULT])
go